FROM node:lts-alpine
RUN npm install docsify-cli -g
RUN wget https://get.helm.sh/helm-v3.7.2-linux-amd64.tar.gz && tar -xvzf helm-v3.7.2-linux-amd64.tar.gz && mv linux-amd64/helm /usr/local/bin/helm && rm -rf helm-* linux-amd64
# run in cli/dist folder
ADD . /usr/dist
RUN mv /usr/dist/yam-alpine /usr/bin/yam